#include "StdAfx.h"
#include "galaga88.h"
#include "machine/system1machine.h"

static highscore_t highscore[] =
	{
//	{0xB260,0x60,0x00,0x48},
	{0,-1}
	};

Cgalaga88::Cgalaga88()
{
SetName("galaga88");						//set romset name
SetScreen(288,244);
SetHighScoreInfo(highscore);
AddROMS1("g81_p0.bin",	0x000000,0x10000,0x0f0778ca);
AddROMS1("g81_p1.bin",	0x080000,0x10000,0xe68cb351);
AddROMS1("g81_p5.bin",	0x280000,0x10000,0x4fbd3f6c);
AddROMS1("g8x_p6.bin",	0x300000,0x10000,0x403d01c1);
AddROMS1("g8x_p7.bin",	0x380000,0x10000,0xdf75b7fc);
AddROM("g81_s0.bin",		0x0C000,0x10000,0x164a3fdc,ROM_CPU3);
AddROM("g81_s1.bin",		0x1C000,0x10000,0x16a4b784,ROM_CPU3);
AddROM("cus64-64a1.mcu",0x0F000,0x01000,0xffb5c0bd,ROM_CPU4);
AddROM("g81_v0.bin",		0x10000,0x10000,0x86921dd4,ROM_CPU4);
DupROM(0x20000);
AddROM("g81_v1.bin",		0x30000,0x10000,0x9c300e16,ROM_CPU4);
DupROM(0x40000);
AddROM("g81_v2.bin",		0x50000,0x10000,0x5316b4b0,ROM_CPU4);
DupROM(0x60000);
AddROM("g81_v3.bin",		0x70000,0x10000,0xdc077af4,ROM_CPU4);
DupROM(0x80000);
AddROM("g81_v4.bin",		0x90000,0x10000,0xac0279a7,ROM_CPU4);
DupROM(0xA0000);
AddROM("g81_v5.bin",		0xB0000,0x10000,0x014ddba1,ROM_CPU4);
DupROM(0xC0000);
AddROM("g8_chr-8.bin",	0x00000,0x20000,0x3862ed0a,ROM_VROM1);
AddROM("g8_chr-0.bin",	0x00000,0x20000,0x68559c78,ROM_VROM2);
AddROM("g8_chr-1.bin",	0x20000,0x20000,0x3dc0f93f,ROM_VROM2);
AddROM("g8_chr-2.bin",	0x40000,0x20000,0xdbf26f1f,ROM_VROM2);
AddROM("g8_chr-3.bin",	0x60000,0x20000,0xf5d6cac5,ROM_VROM2);
AddROM("g8_obj-0.bin",	0x00000,0x20000,0xd7112e3f,ROM_VROM3);
AddROM("g8_obj-1.bin",	0x20000,0x20000,0x680db8e7,ROM_VROM3);
AddROM("g8_obj-2.bin",	0x40000,0x20000,0x13c97512,ROM_VROM3);
AddROM("g8_obj-3.bin",	0x60000,0x20000,0x3ed3941b,ROM_VROM3);
AddROM("g8_obj-4.bin",	0x80000,0x20000,0x370ff4ad,ROM_VROM3);
AddROM("g8_obj-5.bin",	0xA0000,0x20000,0xb0645169,ROM_VROM3);
}

CMachine *Cgalaga88::CreateMachine()
{
return(new CSystem1Machine());
}
